package com.cheng.im.service.frienship.model.req;

import com.cheng.im.service.common.model.RequestBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;


@Data
@ApiModel("检查好友关系请求类")
public class CheckFriendShipReq extends RequestBase {

    @NotBlank(message = "fromId不能为空")
    @ApiModelProperty("请求的用户ID")
    private String fromId;

    @NotEmpty(message = "toIds不能为空")
    @ApiModelProperty("检查的用户ID列表")
    private List<String> toIds;

    // 单向好友还是双向 详情：CheckFriendShipTypeEnum
    @NotNull(message = "checkType不能为空")
    @ApiModelProperty("单向好友还是双向 详情：CheckFriendShipTypeEnum")
    private Integer checkType;
}
